package com.yxw.yx_hotel.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author liuxin
 * @date 2024.01.17
 */
@Data
@ApiModel(value="RoomStatisticsVo", description="房源统计")
public class RoomStatisticsVo implements Serializable {

    @ApiModelProperty(value = "房源ID")
    private Long tenantId ;

    @ApiModelProperty(value = "客户名称")
    private String tenantName ;


    @ApiModelProperty(value = "区域名称")
    private String regionName ;

    @ApiModelProperty(value = "房号")
    private String roomName ;

    @ApiModelProperty(value="创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
